COPY FROM HOST                  0001                              Command:  COPY FROM HOST                                                             COPY FROM HOST                  0002                                                                                                                   COPY FROM HOST                  0003                              Purpose:                                                                             COPY FROM HOST                  0004                                                                                                                   COPY FROM HOST                  0005                                This command transfers a file from the HOST system to the REMOTE                   COPY FROM HOST                  0006                                system.                                                                            COPY FROM HOST                  0007                                                                                                                   COPY FROM HOST                  0008                              Syntax:                                                                              COPY FROM HOST                  0009                                                                                                                   COPY FROM HOST                  0010                                COPY FROM HOST filename-1,directory-1 ; filename-2,directory-2                     COPY FROM HOST                  0011                                                                                                                   COPY FROM HOST                  0012                                where:      filename-1 = the HOST file name                                        COPY FROM HOST                  0013                                            directory-1 = the HOST directory                                       COPY FROM HOST                  0014                                            filename-2 = the REMOTE filename                                       COPY FROM HOST                  0015                                            directory-2 = the REMOTE directory                                     COPY FROM HOST                  0016                                                                                                                   COPY FROM HOST                  0017                                (Notice that the filenames and directories are separated by a                      COPY FROM HOST                  0018                                semicolon.)                                                                        COPY FROM HOST                  0019                                                                                                                   COPY FROM HOST                  0020                              Description:                                                                         COPY FROM HOST                  0021                                                                                                                   COPY FROM HOST                  0022                                The following events occur when this instruction is processed:                     COPY FROM HOST                  0023                                                                                                                   COPY FROM HOST                  0024                                a.   The COPY FROM HOST command is passed onto the HOST system,                    COPY FROM HOST                  0025                                     which prepares the HOST system to read and transmit the                       COPY FROM HOST                  0026                                     declared filename.                                                            COPY FROM HOST                  0027                                                                                                                   COPY FROM HOST                  0028                                b.   The HOST system determines if the file exists. If so, it is                   COPY FROM HOST                  0029                                     opened. If not, a HOST exception is transferred back to the                   COPY FROM HOST                  0030                                     REMOTE system and the current instruction is aborted. Note                    COPY FROM HOST                  0031                                     that the REMOTE filename does not have to be the same as the                  COPY FROM HOST                  0032                                     HOST filename.                                                                COPY FROM HOST                  0033                                                                                                                   COPY FROM HOST                  0034                                c.   If any errors occur on the REMOTE system in trying to create                  COPY FROM HOST                  0035                                     and open the receiving file, the exception error is passed to                 COPY FROM HOST                  0036                                     the HOST system and the execution of this instruction is                      COPY FROM HOST                  0037                                     aborted. In either case, the next command in the command file                 COPY FROM HOST                  0038                                     is processed.                                                                 COPY FROM HOST                  0039                                                                                                                   COPY FROM HOST                  0040                                d.   If both the REMOTE and HOST can open their respective files,                  COPY FROM HOST                  0041                                     transfer of actual data takes place. Whenever an EOF occurs,                  COPY FROM HOST                  0042                                     both files are closed and the next command in the command file                COPY FROM HOST                  0043                                     is processed.                                                                 COPY FROM HOST                  0044                                                                                                                   COPY FROM HOST                  0045                              Example:                                                                             COPY FROM HOST                  0046                                                                                                                   COPY FROM HOST                  0047                                COPY FROM HOST UPDATE,LOG ; UPDATE1,QRS                                            COPY FROM HOST                  0048                                                                                                                   COPY FROM HOST                  0049                                This command copies a file named UPDATE on directory LOG on the                    COPY FROM HOST                  0050                                HOST system to a file named UPDATE1 on directory QRS on the                        COPY FROM HOST                  0051                                REMOTE system.                                                                     COPY FROM REMOTE                0001                              Command:  COPY FROM REMOTE                                                           COPY FROM REMOTE                0002                                                                                                                   COPY FROM REMOTE                0003                              Purpose:                                                                             COPY FROM REMOTE                0004                                                                                                                   COPY FROM REMOTE                0005                                This command transfers a file from the REMOTE system to the HOST                   COPY FROM REMOTE                0006                                system.                                                                            COPY FROM REMOTE                0007                                                                                                                   COPY FROM REMOTE                0008                              Syntax:                                                                              COPY FROM REMOTE                0009                                                                                                                   COPY FROM REMOTE                0010                                COPY FROM REMOTE filename-1,directory-1 ; filename-2,directory-2                   COPY FROM REMOTE                0011                                                                                                                   COPY FROM REMOTE                0012                                where:      filename-1 = the REMOTE file name                                      COPY FROM REMOTE                0013                                            directory-1 = the REMOTE directory                                     COPY FROM REMOTE                0014                                            filename-2 = the HOST filename                                         COPY FROM REMOTE                0015                                            directory-2 = the HOST directory                                       COPY FROM REMOTE                0016                                                                                                                   COPY FROM REMOTE                0017                                (Notice that the filenames and directories are separated by a                      COPY FROM REMOTE                0018                                semicolon.)                                                                        COPY FROM REMOTE                0019                                                                                                                   COPY FROM REMOTE                0020                              Description:                                                                         COPY FROM REMOTE                0021                                                                                                                   COPY FROM REMOTE                0022                                The following events occur when this command is processed:                         COPY FROM REMOTE                0023                                                                                                                   COPY FROM REMOTE                0024                                a.   The COPY FROM REMOTE command is passed onto the HOST system,                  COPY FROM REMOTE                0025                                     which prepares the HOST system to receive and write to the                    COPY FROM REMOTE                0026                                     declared filename.                                                            COPY FROM REMOTE                0027                                                                                                                   COPY FROM REMOTE                0028                                b.   The HOST system determines if the file exists. If so, it is                   COPY FROM REMOTE                0029                                     erased and re-created. If not, it is just created using the                   COPY FROM REMOTE                0030                                     transferred file parameters that exist on the REMOTE system.                  COPY FROM REMOTE                0031                                     Note that the HOST filename does not have to be the same as                   COPY FROM REMOTE                0032                                     the REMOTE filename.                                                          COPY FROM REMOTE                0033                                                                                                                   COPY FROM REMOTE                0034                                c.   If any errors occur on the HOST system in trying to create and                COPY FROM REMOTE                0035                                     open the receiving file, that exception error is passed back                  COPY FROM REMOTE                0036                                     to the REMOTE system and the execution of this instruction is                 COPY FROM REMOTE                0037                                     aborted. In either case, the next command in the command file                 COPY FROM REMOTE                0038                                     is processed.                                                                 COPY FROM REMOTE                0039                                                                                                                   COPY FROM REMOTE                0040                                d.   If both the HOST and REMOTE systems can open their respective                 COPY FROM REMOTE                0041                                     files, transfer of actual data takes place. Whenever an EOF                   COPY FROM REMOTE                0042                                     occurs, both files are closed and the next command in the                     COPY FROM REMOTE                0043                                     command file is processed.                                                    COPY FROM REMOTE                0044                                                                                                                   COPY FROM REMOTE                0045                              Example:                                                                             COPY FROM REMOTE                0046                                                                                                                   COPY FROM REMOTE                0047                                COPY FROM REMOTE SLSTRAN,SLS ; SLSTRAN,DSK                                         COPY FROM REMOTE                0048                                                                                                                   COPY FROM REMOTE                0049                                This command copies a file named SLSTRAN on directory SLS on the                   COPY FROM REMOTE                0050                                REMOTE system to a file name SLSTRAN on directory DSK on the HOST                  COPY FROM REMOTE                0051                                system.                                                                            Command File Examples           0001                              The following screens contains several annotated command files. The                  Command File Examples           0002                              first example involves some operator input, while the second and                     Command File Examples           0003                              third examples demonstrate "hands free" operation of QACCESS.                        Command File Examples           0004                                                                                                                   Command File Examples           0005                              <Example 1>     <Example 2>     <Example 3>                                          Copyright                       0001                              Copyright Notice                                                                     Copyright                       0002                              ================                                                                     Copyright                       0003                                                                                                                   Copyright                       0004                                 This software package and documentation are copyrighted 1986-1996                 Copyright                       0005                                 by Signature Systems, Inc. All rights reserved worldwide. No part                 Copyright                       0006                                 of this publication may be reproduced, transmitted, transcribed,                  Copyright                       0007                                 stored in any retrieval system, or translated into any language                   Copyright                       0008                                 by any means without the express written permission of Signature                  Copyright                       0009                                 Systems, Inc., 4325 Harrison Grade Road, Sebastopol, CA 95472.                    Copyright                       0010                                                                                                                   Copyright                       0011                              Disclaimer                                                                           Copyright                       0012                              ==========                                                                           Copyright                       0013                                                                                                                   Copyright                       0014                                 Signature Systems, Inc. makes no warranties as to the contents of                 Copyright                       0015                                 this documentation and specifically disclaims any implied                         Copyright                       0016                                 warranties of merchantability or fitness for any particular                       Copyright                       0017                                 purpose. Signature Systems further reserves the right to make                     Copyright                       0018                                 changes to the specifications of the program and contents of the                  Copyright                       0019                                 documentation without obligation to notify any person or                          Copyright                       0020                                 organization of such changes.                                                     Copyright                       0021                                                                                                                   Copyright                       0022                              License Agreement                                                                    Copyright                       0023                              =================                                                                    Copyright                       0024                                                                                                                   Copyright                       0025                                 The software described in this documentation is furnished under a                 Copyright                       0026                                 license agreement and may be used or copied only in accordance                    Copyright                       0027                                 with the terms of the agreement. Failure to sign this agreement                   Copyright                       0028                                 and still use the software is illegal.                                            Copyright                       0029                                                                                                                   Copyright                       0030                              Trademark Credits                                                                    Copyright                       0031                              =================                                                                    Copyright                       0032                                                                                                                   Copyright                       0033                                 Trademarks used in this manual belong to their respective owners.                 Copyright                       0034                                                                                                                   Copyright                       0035                              Publication Information                                                              Copyright                       0036                              =======================                                                              Copyright                       0037                                                                                                                   Copyright                       0038                                 First edition September 1996.                                                     DIAGNOSTIC                      0001                              Command:  DIAGNOSTIC                                                                 DIAGNOSTIC                      0002                                                                                                                   DIAGNOSTIC                      0003                              Purpose:                                                                             DIAGNOSTIC                      0004                                                                                                                   DIAGNOSTIC                      0005                                This command tests the communication link established via Comet's                  DIAGNOSTIC                      0006                                gateway, QTerm, and the HOST system.                                               DIAGNOSTIC                      0007                                                                                                                   DIAGNOSTIC                      0008                              Syntax:                                                                              DIAGNOSTIC                      0009                                                                                                                   DIAGNOSTIC                      0010                                DIAGNOSTIC nn                                                                      DIAGNOSTIC                      0011                                                                                                                   DIAGNOSTIC                      0012                                where:      nn = number of times to perform diagnostic                             DIAGNOSTIC                      0013                                                                                                                   DIAGNOSTIC                      0014                              Description:                                                                         DIAGNOSTIC                      0015                                                                                                                   DIAGNOSTIC                      0016                                For a single iteration, the 2K I/O buffer is filled with                           DIAGNOSTIC                      0017                                asterisks and X's, transferred to the HOST, and echoed back to                     DIAGNOSTIC                      0018                                the REMOTE system.                                                                 DIAGNOSTIC                      0019                                                                                                                   DIAGNOSTIC                      0020                              Note:                                                                                DIAGNOSTIC                      0021                                                                                                                   DIAGNOSTIC                      0022                                We recommend using this instruction first, in order to test the                    DIAGNOSTIC                      0023                                communication link.                                                                DIAGNOSTIC                      0024                                                                                                                   DIAGNOSTIC                      0025                              Example:                                                                             DIAGNOSTIC                      0026                                                                                                                   DIAGNOSTIC                      0027                                DIAGNOSTIC 20                                                                      DIAGNOSTIC                      0028                                                                                                                   DIAGNOSTIC                      0029                                This command performs the diagnostic test 20 times.                                DIAL                            0001                              Command:  DIAL                                                                       DIAL                            0002                                                                                                                   DIAL                            0003                              Purpose:                                                                             DIAL                            0004                                                                                                                   DIAL                            0005                                This command instructs the attached REMOTE system's modem to dial                  DIAL                            0006                                and connect to a HOST system's modem.                                              DIAL                            0007                                                                                                                   DIAL                            0008                              Syntax:                                                                              DIAL                            0009                                                                                                                   DIAL                            0010                                DIAL modem-command phone-number                                                    DIAL                            0011                                                                                                                   DIAL                            0012                                where:      modem-command = the modem's AT command instruction for                 DIAL                            0013                                            dialing a phone number                                                 DIAL                            0014                                                                                                                   DIAL                            0015                                            phone-number = the phone number of the modem on the HOST               DIAL                            0016                                            system                                                                 DIAL                            0017                                                                                                                   DIAL                            0018                              Description:                                                                         DIAL                            0019                                                                                                                   DIAL                            0020                                The modem-command parameter is a Hayes-compatible instruction for                  DIAL                            0021                                the modem. Here are some of the common modem commands:                             DIAL                            0022                                                                                                                   DIAL                            0023                                Command     Description                                                            DIAL                            0024                                                                                                                   DIAL                            0025                                AT          modem command follows                                                  DIAL                            0026                                D           dial                                                                   DIAL                            0027                                T           for touch tone dialing                                                 DIAL                            0028                                P           for pulse dialing                                                      DIAL                            0029                                0 through 9 phone numbers                                                          DIAL                            0030                                # or *      the special keys on a phone pad                                        DIAL                            0031                                W           wait for a second dial tone                                            DIAL                            0032                                ,           pause for 2 seconds, then continue (usually used with PB               DIAL                            0033                                            phone systems)                                                         DIAL                            0034                                @           wait for 5 seconds of silence after one or more rings                  DIAL                            0035                                !           switch hook flash; hangs up the phone line for 0.5                     DIAL                            0036                                            seconds, then picks up (usually used to transfer a phone               DIAL                            0037                                            call or dial an extension number)                                      DIAL                            0038                                                                                                                   DIAL                            0039                              Notes:                                                                               DIAL                            0040                                                                                                                   DIAL                            0041                                There are many different phone systems, with many variants on how                  DIAL                            0042                                to successfully dial out. You may have to experiment with the                      DIAL                            0043                                DIAL command in order to get your modem to successfully dial and                   DIAL                            0044                                connect to a HOST's modem.                                                         DIAL                            0045                                                                                                                   DIAL                            0046                                Once the phone number is dialed, you may hear screeching noises                    DIAL                            0047                                coming from the modem. This screeching is the result of the                        DIAL                            0048                                modems trying to negotiate for the best/fastest possible                           DIAL                            0049                                connection. When the connection is made, QACCESS will wait to                      DIAL                            0050                                receive a minimum of 31 polls coming from the HOST system. When                    DIAL                            0051                                31 polls have been received, it is assumed that a good connection                  DIAL                            0052                                has been established and the next command is processed.                            DIAL                            0053                                                                                                                   DIAL                            0054                                If the phone line is busy, or 31 polls have not been received                      DIAL                            0055                                within a given amount of time, it must be assumed that a phone                     DIAL                            0056                                connection cannot be made. When this occurs, a warning window                      DIAL                            0057                                will display and/or the log file will be updated informing of the                  DIAL                            0058                                "BUSY or NO RESPONSE" condition. QACCESS will then hang up the                     DIAL                            0059                                modem and attempt a re-dial. This loop is repeated until a phone                   DIAL                            0060                                connection can be made.                                                            DIAL                            0061                                                                                                                   DIAL                            0062                              Example:                                                                             DIAL                            0063                                                                                                                   DIAL                            0064                                DIAL ATDT9W,18005551212@56                                                         DIAL                            0065                                                                                                                   DIAL                            0066                                The following chart contains a detailed explanation of this                        DIAL                            0067                                example.                                                                           DIAL                            0068                                                                                                                   DIAL                            0069                                Command     Explanation                                                            DIAL                            0070                                                                                                                   DIAL                            0071                                AT          informs the modem that a command follows                               DIAL                            0072                                D           informs the modem that a phone number is to be dialed                  DIAL                            0073                                T           informs the modem to use touch tone dialing                            DIAL                            0074                                9           the phone system's command to get an outside line                      DIAL                            0075                                W           instructs the modem to wait for a 2nd dial tone                        DIAL                            0076                                ,           informs the modem to pause 1 second                                    DIAL                            0077                                1800...     the actual phone number to be dialed                                   DIAL                            0078                                @           instructs the modem to wait a period of time for one or                DIAL                            0079                                            more rings followed by 5 seconds of silence                            DIAL                            0080                                56          an extension number to be dialed                                       END                             0001                              Command:  END                                                                        END                             0002                                                                                                                   END                             0003                              Purpose:                                                                             END                             0004                                                                                                                   END                             0005                                This command is the last command in a QACCESS command file.                        END                             0006                                                                                                                   END                             0007                              Syntax:                                                                              END                             0008                                                                                                                   END                             0009                                END                                                                                END                             0010                                                                                                                   END                             0011                              Description:                                                                         END                             0012                                                                                                                   END                             0013                                The END command results in the REMOTE system informing the HOST                    END                             0014                                system that file transfer processing is complete and to terminate                  END                             0015                                a connection.                                                                      END                             0016                                                                                                                   END                             0017                                The following occurs whenever the END command is sent:                             END                             0018                                                                                                                   END                             0019                                a.   The END/ABORT command is sent to the HOST system. QACCESS on                  END                             0020                                     the HOST system closes all files and returns to QMONITOR.                     END                             0021                                                                                                                   END                             0022                                b.   If a modem connection is used, the REMOTE system's modem is                   END                             0023                                     instructed to hangup.                                                         END                             0024                                                                                                                   END                             0025                                c.   QACCESS on the REMOTE system closes all files and returns to                  END                             0026                                     QMONITOR.                                                                     Example 1                       0001                              QACCESS Command File Example 1                                                       Example 1                       0002                                                                                                                   Example 1                       0003                              In this example, the operator would have to hot-key to QTerm,                        Example 1                       0004                              manually dial the HOST system, enter a possible password, RUN                        Example 1                       0005                              QACCESS, hot-key out of QTerm, and run QACCESS on the REMOTE                         Example 1                       0006                              system. As soon as the REMOTE and HOST systems established a                         Example 1                       0007                              handshake, the following command file would be processed:                            Example 1                       0008                                                                                                                   Example 1                       0009                              Line   Command                                                                       Example 1                       0010                                                                                                                   Example 1                       0011                              100    <GATEWAY> G01                                                                 Example 1                       0012                              200    <SPEED> 4                                                                     Example 1                       0013                              300    <MESSAGE HOST> T10 , FILE TRANSFER TO BEGIN                                   Example 1                       0014                              400    <MESSAGE REMOTE>  T24 , FILE TRANSFER TO BEGIN                                Example 1                       0015                              500    <COPY FROM REMOTE> ARTRAN,A/R ; ARTRAN,A/R                                    Example 1                       0016                              600    <COPY FROM REMOTE> GLTRAN,G/L ; GLTRAN,G/L                                    Example 1                       0017                              700    <COPY FROM REMOTE> SALES,SLS  ; SALES,SLS                                     Example 1                       0018                              800    <MESSAGE HOST>    T10 , FILE TRANSFER COMPLETE                                Example 1                       0019                              900    <MESSAGE REMOTE>  T24 , FILE TRANSFER COMPLETE                                Example 1                       0020                              1000   <END>                                                                         Example 1                       0021                                                                                                                   Example 1                       0022                                                                                                                   Example 1                       0023                              Here is a line-by-line explanation of the command file:                              Example 1                       0024                                                                                                                   Example 1                       0025                              Line   Description                                                                   Example 1                       0026                                                                                                                   Example 1                       0027                              100    The QTerm gateway named G01 will be used for communications.                  Example 1                       0028                                                                                                                   Example 1                       0029                              200    The speed factor of QACCESS is slowed down by a factor of 4.                  Example 1                       0030                                     (You may want to do this if the REMOTE system is a multi-user                 Example 1                       0031                                     system and the files being transferred are large.)                            Example 1                       0032                                                                                                                   Example 1                       0033                              300    A message is sent to T10 of the HOST system.                                  Example 1                       0034                                                                                                                   Example 1                       0035                              400    A message is sent to T24 of the REMOTE system.                                Example 1                       0036                                                                                                                   Example 1                       0037                              500    A file named ARTRAN on directory A/R of the REMOTE system is                  Example 1                       0038                                     transferred to a file named ARTRAN on directory A/R on the                    Example 1                       0039                                     HOST system.                                                                  Example 1                       0040                                                                                                                   Example 1                       0041                              600    A file name GLTRAN on directory G/L of the REMOTE system is                   Example 1                       0042                                     transferred to a file named GLTRAN on directory G/L on the                    Example 1                       0043                                     HOST system.                                                                  Example 1                       0044                                                                                                                   Example 1                       0045                              700    A file name SALES on directory SLS of the REMOTE system is                    Example 1                       0046                                     transferred to a file named SALES on directory SLS on the HOST                Example 1                       0047                                     system.                                                                       Example 1                       0048                                                                                                                   Example 1                       0049                              800    Upon completion of the file transfers, an ending message is                   Example 1                       0050                                     sent to T10 of the HOST system.                                               Example 1                       0051                                                                                                                   Example 1                       0052                              900    The message is also sent to T24 of the REMOTE system.                         Example 1                       0053                                                                                                                   Example 1                       0054                              1000   The END command terminates QACCESS processing on the REMOTE                   Example 1                       0055                                     and HOST systems.                                                             Example 1                       0056                                                                                                                   Example 1                       0057                              After these command finished executing, if you wanted to now hangup                  Example 1                       0058                              the modem, you would have to manually hot-key to QTerm, press ALT-                   Example 1                       0059                              C, perform the DISCONNECT menu option, press ESC and finally to                      Example 1                       0060                              hot-key out of QTerm back to Comet.                                                  Example 2                       0001                              QACCESS Command File Example 2                                                       Example 2                       0002                                                                                                                   Example 2                       0003                              In this example, the DIAL, SCRIPT and HANGUP commands are used to                    Example 2                       0004                              help automate the file transfer process by eliminating the need to                   Example 2                       0005                              constantly hot-key back and forth between QTerm and Comet.                           Example 2                       0006                                                                                                                   Example 2                       0007                              Line   Command                                                                       Example 2                       0008                                                                                                                   Example 2                       0009                              100    <GATEWAY> G01                                                                 Example 2                       0010                              200    <SPEED> 4                                                                     Example 2                       0011                              300    <DIAL> ATDT555-1212                                                           Example 2                       0012                              400    <SCRIPT> TRANFILE,TRN                                                         Example 2                       0013                              500    <MESSAGE HOST>   T10 , FILE TRANSFER TO BEGIN                                 Example 2                       0014                              600    <MESSAGE REMOTE> T24 , FILE TRANSFER TO BEGIN                                 Example 2                       0015                              700    <COPY FROM REMOTE> ARTRAN,A/R ; ARTRAN,A/R                                    Example 2                       0016                              800    <COPY FROM REMOTE> GLTRAN,G/L ; GLTRAN,G/L                                    Example 2                       0017                              900    <COPY FROM REMOTE> SALES,SLS  ; SALES,SLS                                     Example 2                       0018                              1000   <MESSAGE HOST>   T10 , FILE TRANSFER COMPLETE                                 Example 2                       0019                              1100   <MESSAGE REMOTE> T24 , FILE TRANSFER COMPLETE                                 Example 2                       0020                              1200   <HANGUP>                                                                      Example 2                       0021                              1300   <MESSAGE REMOTE> T24 , LOGGED OFF HOST SYSTEM                                 Example 2                       0022                              1400   <END>                                                                         Example 2                       0023                                                                                                                   Example 2                       0024                              Here is a line-by-line explanation of the command file:                              Example 2                       0025                                                                                                                   Example 2                       0026                              Line   Description                                                                   Example 2                       0027                                                                                                                   Example 2                       0028                              100    The QTerm gateway named G01 will be used for communications.                  Example 2                       0029                                                                                                                   Example 2                       0030                              200    The speed factor of QACCESS is slowed down by a factor of 4.                  Example 2                       0031                                                                                                                   Example 2                       0032                              300    The DIAL command dials the modem number of a HOST system. This                Example 2                       0033                                     command eliminates the need to hot-key to QTerm to perform the                Example 2                       0034                                     ALT-C remote connections menu option.                                         Example 2                       0035                                                                                                                   Example 2                       0036                              400    The SCRIPT command calls a script file named TRANFILE,TRN.                    Example 2                       0037                                     This script file eliminates the need to F3/TRANSMIT, enter a                  Example 2                       0038                                     password, and RUN QACCESS.                                                    Example 2                       0039                                                                                                                   Example 2                       0040                              500    A message is sent to T10 of the HOST system.                                  Example 2                       0041                                                                                                                   Example 2                       0042                              600    A message is sent to T24 of the REMOTE system.                                Example 2                       0043                                                                                                                   Example 2                       0044                              700    A file named ARTRAN on directory A/R of the REMOTE system is                  Example 2                       0045                                     transferred to a file named ARTRAN on directory A/R on the                    Example 2                       0046                                     HOST system.                                                                  Example 2                       0047                                                                                                                   Example 2                       0048                              800    A file name GLTRAN on directory G/L of the REMOTE system is                   Example 2                       0049                                     transferred to a file named GLTRAN on directory G/L on the                    Example 2                       0050                                     HOST system.                                                                  Example 2                       0051                                                                                                                   Example 2                       0052                              900    A file name SALES on directory SLS of the REMOTE system is                    Example 2                       0053                                     transferred to a file named SALES on directory SLS on the HOST                Example 2                       0054                                     system.                                                                       Example 2                       0055                                                                                                                   Example 2                       0056                              1000   Upon completion of the file transfers, a message is sent to                   Example 2                       0057                                     T10 of the HOST system.                                                       Example 2                       0058                                                                                                                   Example 2                       0059                              1100   The message is also sent to T24 of the REMOTE system.                         Example 2                       0060                                                                                                                   Example 2                       0061                              1200   The HANGUP command terminates the communication link between                  Example 2                       0062                                     the REMOTE and HOST systems. This command eliminates the need                 Example 2                       0063                                     to hot-key to QTerm to perform the ALT-C disconnect menu                      Example 2                       0064                                     option.                                                                       Example 2                       0065                                                                                                                   Example 2                       0066                              1300   A closing message is sent to T24 of the REMOTE system.                        Example 2                       0067                                                                                                                   Example 2                       0068                              1400   The END command terminates QACCESS processing on the REMOTE                   Example 2                       0069                                     and HOST systems.                                                             Example 3                       0001                              QACCESS Command File Example 3                                                       Example 3                       0002                                                                                                                   Example 3                       0003                              This example shows how multiple HOST sites can be dialed by one                      Example 3                       0004                              command file. By studying each line in this command file, you will                   Example 3                       0005                              notice that multiple HOST sites can be dialed, different SCRIPT                      Example 3                       0006                              files can be used, files can be transferred in both directions,                      Example 3                       0007                              multiple WAKEUP commands can be used, and logging into a HOST                        Example 3                       0008                              system can be done for the sole purpose of displaying a MESSAGE on                   Example 3                       0009                              a terminal control line. QACCESS command files can be set up for                     Example 3                       0010                              daily, weekly, month-end or support file transfers to multiple HOST                  Example 3                       0011                              sites.                                                                               Example 3                       0012                                                                                                                   Example 3                       0013                              Line   Command                                                                       Example 3                       0014                                                                                                                   Example 3                       0015                              100    <GATEWAY> G01                                                                 Example 3                       0016                              200    <LOGFILE> LOG001,DSK,Y                                                        Example 3                       0017                              300    <WAKEUP> 02:00:00                                                             Example 3                       0018                              400    <SPEED> 4                                                                     Example 3                       0019                              500    <DIAL> ATDT555-1212                                                           Example 3                       0020                              600    <SCRIPT> SFILE1,TRN                                                           Example 3                       0021                              700    <MESSAGE HOST>   T10 , FILE TRANSFER TO BEGIN                                 Example 3                       0022                              800    <MESSAGE REMOTE> T24 , FILE TRANSFER TO BEGIN                                 Example 3                       0023                              900    <COPY FROM REMOTE> ARTRAN,A/R ; ARTRAN,A/R                                    Example 3                       0024                              1000   <COPY FROM REMOTE> GLTRAN,G/L ; GLTRAN,G/L                                    Example 3                       0025                              1100   <COPY FROM REMOTE> SALES,SLS  ; SALES,SLS                                     Example 3                       0026                              1200   <MESSAGE HOST>   T10 , FILE TRANSFER COMPLETE                                 Example 3                       0027                              1300   <MESSAGE REMOTE> T24 , FILE TRANSFER COMPLETE                                 Example 3                       0028                              1400   <HANGUP>                                                                      Example 3                       0029                              1500   <SPEED> 0                                                                     Example 3                       0030                              1600   <DIAL> ATDT555-1313                                                           Example 3                       0031                              1700   <SCRIPT> SFILE2,TRN                                                           Example 3                       0032                              1800   <MESSAGE HOST>   ALL , FILE TRANSFER TO BEGIN                                 Example 3                       0033                              1900   <MESSAGE REMOTE> ALL , FILE TRANSFER TO BEGIN                                 Example 3                       0034                              2000   <COPY FROM HOST>   EXPLIST1,EXP ; EXPLIST1,DSK                                Example 3                       0035                              2100   <COPY FROM HOST>   EXPLIST2,EXP ; EXPLIST2,DSK                                Example 3                       0036                              2200   <COPY FROM REMOTE> MODLIST,MOD  ; MODLIST,MOD                                 Example 3                       0037                              2300   <MESSAGE HOST>   ALL , FILE TRANSFER COMPLETE                                 Example 3                       0038                              2400   <MESSAGE REMOTE> ALL , FILE TRANSFER COMPLETE                                 Example 3                       0039                              2500   <HANGUP>                                                                      Example 3                       0040                              2600   <MESSAGE REMOTE> T24 , FIRST TWO JOBS COMPLETE                                Example 3                       0041                              2700   <WAKEUP> 03:00:00                                                             Example 3                       0042                              2800   <DIAL> ATDT555-1414                                                           Example 3                       0043                              2900   <SCRIPT> SFILE3,XYZ                                                           Example 3                       0044                              3000   <MESSAGE HOST> ALL , NEED REPORTS FOR TOMORROW                                Example 3                       0045                              3100   <HANGUP>                                                                      Example 3                       0046                              3200   <MESSAGE REMOTE> T24 , ALL DONE                                               Example 3                       0047                              3300   <END>                                                                         Example 3                       0048                                                                                                                   Example 3                       0049                              Here is a line-by-line explanation of the command file:                              Example 3                       0050                                                                                                                   Example 3                       0051                              Line   Description                                                                   Example 3                       0052                                                                                                                   Example 3                       0053                              100    The QTerm gateway named G01 will be used for communications.                  Example 3                       0054                                                                                                                   Example 3                       0055                              200    A progress log will be written to a file named LOG001 on                      Example 3                       0056                                     directory DSK. If a file by that name exists, it will be                      Example 3                       0057                                     erased and re-created.                                                        Example 3                       0058                                                                                                                   Example 3                       0059                              300    The WAKEUP command suspends command file processing until 2:00                Example 3                       0060                                     AM.                                                                           Example 3                       0061                                                                                                                   Example 3                       0062                              400    The speed factor of QACCESS is slowed down by a factor of 4.                  Example 3                       0063                                                                                                                   Example 3                       0064                              500    The DIAL command dials the first HOST system.                                 Example 3                       0065                                                                                                                   Example 3                       0066                              600    The SCRIPT command calls a script file named SFILE1,TRN.                      Example 3                       0067                                                                                                                   Example 3                       0068                              700    A message is sent to T10 of the HOST system.                                  Example 3                       0069                                                                                                                   Example 3                       0070                              800    A message is sent to T24 of the REMOTE system.                                Example 3                       0071                                                                                                                   Example 3                       0072                              900    A file named ARTRAN on directory A/R of the REMOTE system is                  Example 3                       0073                                     transferred to a file named ARTRAN on directory A/R on the                    Example 3                       0074                                     HOST system.                                                                  Example 3                       0075                                                                                                                   Example 3                       0076                              1000   A file name GLTRAN on directory G/L of the REMOTE system is                   Example 3                       0077                                     transferred to a file named GLTRAN on directory G/L on the                    Example 3                       0078                                     HOST system.                                                                  Example 3                       0079                                                                                                                   Example 3                       0080                              1100   A file name SALES on directory SLS of the REMOTE system is                    Example 3                       0081                                     transferred to a file named SALES on directory SLS on the HOST                Example 3                       0082                                     system.                                                                       Example 3                       0083                                                                                                                   Example 3                       0084                              1200   A message is sent to T10 of the HOST system.                                  Example 3                       0085                                                                                                                   Example 3                       0086                              1300   A message is sent to T24 of the REMOTE system.                                Example 3                       0087                                                                                                                   Example 3                       0088                              1400   The HANGUP command terminates the communication link between                  Example 3                       0089                                     the REMOTE and HOST systems.                                                  Example 3                       0090                                                                                                                   Example 3                       0091                              1500   The speed factor of QACCESS is set to the fastest possible                    Example 3                       0092                                     speed.                                                                        Example 3                       0093                                                                                                                   Example 3                       0094                              1600   The DIAL command dials the second HOST system.                                Example 3                       0095                                                                                                                   Example 3                       0096                              1700   The SCRIPT command calls a script file named SFILE2,TRN.                      Example 3                       0097                                                                                                                   Example 3                       0098                              1800   A message is sent to all terminals on the HOST system.                        Example 3                       0099                                                                                                                   Example 3                       0100                              1900   A message is sent to all terminals on the REMOTE system.                      Example 3                       0101                                                                                                                   Example 3                       0102                              2000   A file named EXPLIST1 on directory EXP of the REMOTE system is                Example 3                       0103                                     transferred to a file named EXPLIST1 on directory DSK on the                  Example 3                       0104                                     HOST system.                                                                  Example 3                       0105                                                                                                                   Example 3                       0106                              2100   A file named EXPLIST2 on directory EXP of the REMOTE system is                Example 3                       0107                                     transferred to a file named EXPLIST2 on directory DSK on the                  Example 3                       0108                                     HOST system.                                                                  Example 3                       0109                                                                                                                   Example 3                       0110                              2200   A file named MODLIST on directory MOD of the REMOTE system is                 Example 3                       0111                                     transferred to a file named MODLIST on directory MOD on the                   Example 3                       0112                                     HOST system.                                                                  Example 3                       0113                                                                                                                   Example 3                       0114                              2300   A message is sent to all terminals on the HOST system.                        Example 3                       0115                                                                                                                   Example 3                       0116                              2400   A message is sent to all terminals on the REMOTE system.                      Example 3                       0117                                                                                                                   Example 3                       0118                              2500   The HANGUP command terminates the communication link between                  Example 3                       0119                                     the REMOTE and HOST systems.                                                  Example 3                       0120                                                                                                                   Example 3                       0121                              2600   A message is sent to T24 of the REMOTE system.                                Example 3                       0122                                                                                                                   Example 3                       0123                              2700   The WAKEUP command suspends command file processing until 3:00                Example 3                       0124                                     AM.                                                                           Example 3                       0125                                                                                                                   Example 3                       0126                              2800   The DIAL command dials the third HOST system.                                 Example 3                       0127                                                                                                                   Example 3                       0128                              2900   The SCRIPT command calls a script file named SFILE3,XYZ.                      Example 3                       0129                                                                                                                   Example 3                       0130                              3000   A message is sent to all terminals on the HOST system.                        Example 3                       0131                                                                                                                   Example 3                       0132                              3100   The HANGUP command terminates the communication link between                  Example 3                       0133                                     the REMOTE and HOST systems.                                                  Example 3                       0134                                                                                                                   Example 3                       0135                              3200   A closing message is sent to T24 on the REMOTE system.                        Example 3                       0136                                                                                                                   Example 3                       0137                              3300   The END command terminates QACCESS processing on the REMOTE                   Example 3                       0138                                     and HOST systems.                                                             GATEWAY                         0001                              Command:  GATEWAY                                                                    GATEWAY                         0002                                                                                                                   GATEWAY                         0003                              Purpose:                                                                             GATEWAY                         0004                                                                                                                   GATEWAY                         0005                                This command specifies the QTerm gateway device name.                              GATEWAY                         0006                                                                                                                   GATEWAY                         0007                              Syntax:                                                                              GATEWAY                         0008                                                                                                                   GATEWAY                         0009                                GATEWAY device-name                                                                GATEWAY                         0010                                                                                                                   GATEWAY                         0011                                where:      device-name = any valid QTerm gateway device name (e.g.,               GATEWAY                         0012                                            G00, G01, G02, G03).                                                   GATEWAY                         0013                                                                                                                   GATEWAY                         0014                              Description:                                                                         GATEWAY                         0015                                                                                                                   GATEWAY                         0016                                On the REMOTE system, QACCESS communicates via a QTerm gateway.                    GATEWAY                         0017                                This command specifies the name of the QTerm gateway to be used.                   GATEWAY                         0018                                                                                                                   GATEWAY                         0019                              Notes:                                                                               GATEWAY                         0020                                                                                                                   GATEWAY                         0021                                In early versions of QACCESS, the operator was prompted for a                      GATEWAY                         0022                                gateway device name before any command file processing would                       GATEWAY                         0023                                occur. It was suggested that we eliminate this prompt and make                     GATEWAY                         0024                                another QACCESS command, thus allowing gateway devices to be                       GATEWAY                         0025                                declared within a command file. By including this feature within                   GATEWAY                         0026                                version .23a, QACCESS can now operate in a "hands free" mode.                      GATEWAY                         0027                                                                                                                   GATEWAY                         0028                                Expanding on this idea, it is entirely possible to consider                        GATEWAY                         0029                                operating QACCESS in background partitions via an MTB ACTIVATE                     GATEWAY                         0030                                statement. Thus, application programs requiring a file transfer                    GATEWAY                         0031                                capability need only reference a command file within COMMON                        GATEWAY                         0032                                before activating QACCESS in background. QACCESS, when operated                    GATEWAY                         0033                                in this mode, would become more of an applet rather than a                         GATEWAY                         0034                                utility program.                                                                   GATEWAY                         0035                                                                                                                   GATEWAY                         0036                              Example:                                                                             GATEWAY                         0037                                                                                                                   GATEWAY                         0038                                GATEWAY G03                                                                        GATEWAY                         0039                                                                                                                   GATEWAY                         0040                                This command specifies that the QTerm gateway name G03 should be                   GATEWAY                         0041                                used for communication from the REMOTE system to the HOST system.                  HANGUP                          0001                              Command:  HANGUP                                                                     HANGUP                          0002                                                                                                                   HANGUP                          0003                              Purpose:                                                                             HANGUP                          0004                                                                                                                   HANGUP                          0005                                This command terminates the communication link between the REMOTE                  HANGUP                          0006                                system and the HOST system.                                                        HANGUP                          0007                                                                                                                   HANGUP                          0008                              Syntax:                                                                              HANGUP                          0009                                                                                                                   HANGUP                          0010                                HANGUP                                                                             HANGUP                          0011                                                                                                                   HANGUP                          0012                              Description:                                                                         HANGUP                          0013                                                                                                                   HANGUP                          0014                                The HANGUP command is similar to the END command with an                           HANGUP                          0015                                exception. The following steps occur whenever the HANGUP command                   HANGUP                          0016                                is processed:                                                                      HANGUP                          0017                                                                                                                   HANGUP                          0018                                a.   The HANGUP command is sent to the HOST system. QACCESS on the                 HANGUP                          0019                                     HOST system closes all files and returns to QMONITOR.                         HANGUP                          0020                                                                                                                   HANGUP                          0021                                b.   On the REMOTE side, the AT command instruction "ATH" is sent                  HANGUP                          0022                                     to the REMOTE system's modem. This causes the REMOTE system's                 HANGUP                          0023                                     modem to drop DTR (pin 20) which in turn hangs up the modem.                  HANGUP                          0024                                                                                                                   HANGUP                          0025                                     Note: The REMOTE system's modem must be set up to drop DTR                    HANGUP                          0026                                     whenever it receives the hangup command ATH. If not, your                     HANGUP                          0027                                     modem will not hang up.                                                       HANGUP                          0028                                                                                                                   HANGUP                          0029                                c.   QACCESS on the REMOTE system is still active and does not                     HANGUP                          0030                                     return to QMONITOR. If more command records exist within                      HANGUP                          0031                                     QACCESS's command file, they are processed. For example, the                  HANGUP                          0032                                     command file may contain commands to dial another HOST system                 HANGUP                          0033                                     and transfer files.                                                           HOME                            0001                              QACCESS Command Language                                                             HOME                            0002                                                                                                                   HOME                            0003                              The following command file instructions are available in the                         HOME                            0004                              QACCESS command language:                                                            HOME                            0005                                                                                                                   HOME                            0006                              <COPY FROM REMOTE>     <MESSAGE HOST>      <Command File Examples>                   HOME                            0007                              <COPY FROM HOST>       <MESSAGE REMOTE>                                              HOME                            0008                              <DIAGNOSTIC>           <PAUSE>                                                       HOME                            0009                              <DIAL>                 <SCRIPT>                                                      HOME                            0010                              <END>                  <SPEED>                                                       HOME                            0011                              <GATEWAY>              <WAKEUP>                                                      HOME                            0012                              <HANGUP>                                                                             HOME                            0013                              <LOG FILE>                                                                           LOG FILE                        0001                              Command:  LOG FILE                                                                   LOG FILE                        0002                                                                                                                   LOG FILE                        0003                              Purpose:                                                                             LOG FILE                        0004                                                                                                                   LOG FILE                        0005                                This command generates a date and time stamp record to the                         LOG FILE                        0006                                declared log file name after each command line is processed.                       LOG FILE                        0007                                                                                                                   LOG FILE                        0008                              Syntax:                                                                              LOG FILE                        0009                                                                                                                   LOG FILE                        0010                                LOG FILE filename,directory[,erase-option]                                         LOG FILE                        0011                                                                                                                   LOG FILE                        0012                                where:      filename = a Comet editor (CED) file name                              LOG FILE                        0013                                            directory = an accessed directory on REMOTE system                     LOG FILE                        0014                                                                                                                   LOG FILE                        0015                                            erase-option = Y for "yes" (erase the existing log file,               LOG FILE                        0016                                            if any), or N for "no" (don't erase the log file). This                LOG FILE                        0017                                            parameter is optional; the default is Y.                               LOG FILE                        0018                                                                                                                   LOG FILE                        0019                              Description:                                                                         LOG FILE                        0020                                                                                                                   LOG FILE                        0021                                The log file contains lines in the following format:                               LOG FILE                        0022                                                                                                                   LOG FILE                        0023                                     MM/DD/YY  HH:MM:SS  "current command line"                                    LOG FILE                        0024                                                                                                                   LOG FILE                        0025                                For example, here are 4 lines from a sample log file:                              LOG FILE                        0026                                                                                                                   LOG FILE                        0027                                09/15/95  10:30:54  COPY FROM HOST GLFILE,DSK;GLFILE,DSK                           LOG FILE                        0028                                09/15/95  10:31:10  COPY FROM HOST ARFILE,DSK;ARFILE,DSK                           LOG FILE                        0029                                09/15/95  10:32:50  MESSAGE REMOTE ALL, COPY IS COMPLETE                           LOG FILE                        0030                                09/15/95  10:32:53  HANGUP                                                         LOG FILE                        0031                                                                                                                   LOG FILE                        0032                                The log file can be reviewed to determine performance or any                       LOG FILE                        0033                                possible hangups during a nightly run.                                             LOG FILE                        0034                                                                                                                   LOG FILE                        0035                              Example:                                                                             LOG FILE                        0036                                                                                                                   LOG FILE                        0037                                LOG FILE QACCLOG,LOG,Y                                                             LOG FILE                        0038                                                                                                                   LOG FILE                        0039                                This command specifies a log file named QACCLOG on directory LOG.                  LOG FILE                        0040                                If such a file exists when this command is executed, it is erased                  LOG FILE                        0041                                and re-created.                                                                    MESSAGE HOST                    0001                              Command:  MESSAGE HOST                                                               MESSAGE HOST                    0002                                                                                                                   MESSAGE HOST                    0003                              Purpose:                                                                             MESSAGE HOST                    0004                                                                                                                   MESSAGE HOST                    0005                                This command displays a message on the control line of a HOST                      MESSAGE HOST                    0006                                terminal or console.                                                               MESSAGE HOST                    0007                                                                                                                   MESSAGE HOST                    0008                              Syntax:                                                                              MESSAGE HOST                    0009                                                                                                                   MESSAGE HOST                    0010                                MESSAGE HOST  terminal , message                                                   MESSAGE HOST                    0011                                                                                                                   MESSAGE HOST                    0012                                where:      terminal = a valid terminal name on the HOST system, suc               MESSAGE HOST                    0013                                            as T10 or T56. The word "ALL" may be used to send the                  MESSAGE HOST                    0014                                            message to all terminals on the HOST system.*                          MESSAGE HOST                    0015                                                                                                                   MESSAGE HOST                    0016                                            message = the actual message to display on the control                 MESSAGE HOST                    0017                                            line of a HOST terminal                                                MESSAGE HOST                    0018                                                                                                                   MESSAGE HOST                    0019                              Description:                                                                         MESSAGE HOST                    0020                                                                                                                   MESSAGE HOST                    0021                                This command is useful in informing a HOST user(s) of the                          MESSAGE HOST                    0022                                progress being made in transferring files. If the given terminal                   MESSAGE HOST                    0023                                name is not valid for the HOST system, the message is not sent.                    MESSAGE HOST                    0024                                                                                                                   MESSAGE HOST                    0025                              Examples:                                                                            MESSAGE HOST                    0026                                                                                                                   MESSAGE HOST                    0027                                1.   MESSAGE HOST T00, FILE TRANSFER IS DONE                                       MESSAGE HOST                    0028                                                                                                                   MESSAGE HOST                    0029                                     This command sends a message to terminal T00 on the HOST                      MESSAGE HOST                    0030                                     system.                                                                       MESSAGE HOST                    0031                                                                                                                   MESSAGE HOST                    0032                                2.   MESSAGE HOST ALL, EXPENSE REPORTS DUE FRIDAY                                  MESSAGE HOST                    0033                                                                                                                   MESSAGE HOST                    0034                                     This command sends a message to all terminals on the HOST                     MESSAGE HOST                    0035                                     system.                                                                       MESSAGE HOST                    0036                                                                                                                   MESSAGE HOST                    0037                              *      Please experiment with various versions of the MESSAGE                        MESSAGE HOST                    0038                                     commands. We have heard some reports that sending messages to                 MESSAGE HOST                    0039                                     non-active terminal sessions can cause the system to suspend.                 MESSAGE HOST                    0040                                     In our testing of QACCESS, we sent message to VT3's, VT6's,                   MESSAGE HOST                    0041                                     QTerm workstations, and consoles on a Novell network                          MESSAGE HOST                    0042                                     internally, with no hangs or problems.                                        MESSAGE REMOTE                  0001                              Command:  MESSAGE REMOTE                                                             MESSAGE REMOTE                  0002                                                                                                                   MESSAGE REMOTE                  0003                              Purpose:                                                                             MESSAGE REMOTE                  0004                                                                                                                   MESSAGE REMOTE                  0005                                This command displays a message on the control line of a REMOTE                    MESSAGE REMOTE                  0006                                terminal or console.                                                               MESSAGE REMOTE                  0007                                                                                                                   MESSAGE REMOTE                  0008                              Syntax:                                                                              MESSAGE REMOTE                  0009                                                                                                                   MESSAGE REMOTE                  0010                                MESSAGE REMOTE terminal , message                                                  MESSAGE REMOTE                  0011                                                                                                                   MESSAGE REMOTE                  0012                                where:      terminal = a valid terminal name on the REMOTE system,                 MESSAGE REMOTE                  0013                                            such as T10 or T56. The word "ALL" may be used to send                 MESSAGE REMOTE                  0014                                            the message to all terminals on the REMOTE system.*                    MESSAGE REMOTE                  0015                                                                                                                   MESSAGE REMOTE                  0016                                            message = the actual message to display on the control                 MESSAGE REMOTE                  0017                                            line of a REMOTE terminal                                              MESSAGE REMOTE                  0018                                                                                                                   MESSAGE REMOTE                  0019                              Description:                                                                         MESSAGE REMOTE                  0020                                                                                                                   MESSAGE REMOTE                  0021                                This command is useful in informing a REMOTE user(s) of the                        MESSAGE REMOTE                  0022                                progress being made in transferring files. If the given terminal                   MESSAGE REMOTE                  0023                                name is not valid for the REMOTE system, the message is not sent.                  MESSAGE REMOTE                  0024                                                                                                                   MESSAGE REMOTE                  0025                              Examples:                                                                            MESSAGE REMOTE                  0026                                                                                                                   MESSAGE REMOTE                  0027                                1.   MESSAGE REMOTE T00, FILE TRANSFER IS DONE                                     MESSAGE REMOTE                  0028                                                                                                                   MESSAGE REMOTE                  0029                                     This command sends a message to terminal T00 on the REMOTE                    MESSAGE REMOTE                  0030                                     system.                                                                       MESSAGE REMOTE                  0031                                                                                                                   MESSAGE REMOTE                  0032                                2.   MESSAGE REMOTE ALL, REPORTS DUE FRIDAY                                        MESSAGE REMOTE                  0033                                                                                                                   MESSAGE REMOTE                  0034                                     This command sends a message to all terminals on the REMOTE                   MESSAGE REMOTE                  0035                                     system.                                                                       MESSAGE REMOTE                  0036                                                                                                                   MESSAGE REMOTE                  0037                              *      Please experiment with various versions of the MESSAGE                        MESSAGE REMOTE                  0038                                     commands. We have heard some reports that sending messages to                 MESSAGE REMOTE                  0039                                     non-active terminal sessions can cause the system to suspend.                 MESSAGE REMOTE                  0040                                     In our testing of QACCESS, we sent message to VT3's, VT6's,                   MESSAGE REMOTE                  0041                                     QTerm workstations, and consoles on a Novell network                          MESSAGE REMOTE                  0042                                     internally, with no hangs or problems.                                        PAUSE                           0001                              Command:  PAUSE                                                                      PAUSE                           0002                                                                                                                   PAUSE                           0003                              Purpose:                                                                             PAUSE                           0004                                                                                                                   PAUSE                           0005                                This command temporarily stops the execution of the command file.                  PAUSE                           0006                                                                                                                   PAUSE                           0007                              Syntax:                                                                              PAUSE                           0008                                                                                                                   PAUSE                           0009                                PAUSE nnn                                                                          PAUSE                           0010                                                                                                                   PAUSE                           0011                                where:      nnn = the number of seconds, between 0 and 999, to pause               PAUSE                           0012                                            before the next QACCESS command is executed                            PAUSE                           0013                                                                                                                   PAUSE                           0014                              Description:                                                                         PAUSE                           0015                                                                                                                   PAUSE                           0016                                The PAUSE statement is similar to the PAUSE statement in the MTB                   PAUSE                           0017                                language, in that system activity is suspended for a specified                     PAUSE                           0018                                number of seconds before the next command is processed.                            PAUSE                           0019                                                                                                                   PAUSE                           0020                              Notes:                                                                               PAUSE                           0021                                                                                                                   PAUSE                           0022                                This command is useful immediately following a <HANGUP> command,                   PAUSE                           0023                                before initiating another DIAL command.                                            PAUSE                           0024                                                                                                                   PAUSE                           0025                              Example:                                                                             PAUSE                           0026                                                                                                                   PAUSE                           0027                                HANGUP                                                                             PAUSE                           0028                                PAUSE 10                                                                           PAUSE                           0029                                DIAL ATDT1,999555-1212                                                             PAUSE                           0030                                                                                                                   PAUSE                           0031                                These commands show how the command file processing is suspended                   PAUSE                           0032                                for 10 seconds following a HANGUP command (i.e., between calls).                   SCRIPT                          0001                              Command:  SCRIPT                                                                     SCRIPT                          0002                                                                                                                   SCRIPT                          0003                              Purpose:                                                                             SCRIPT                          0004                                                                                                                   SCRIPT                          0005                                This command informs QACCESS to sequentially read and to pass the                  SCRIPT                          0006                                contents of records through the QTerm gateway.                                     SCRIPT                          0007                                                                                                                   SCRIPT                          0008                              Syntax:                                                                              SCRIPT                          0009                                                                                                                   SCRIPT                          0010                                SCRIPT filename,directory                                                          SCRIPT                          0011                                                                                                                   SCRIPT                          0012                                where:      filename  = a Comet editor (CED) file                                  SCRIPT                          0013                                            directory = any accessed directory                                     SCRIPT                          0014                                                                                                                   SCRIPT                          0015                              Description:                                                                         SCRIPT                          0016                                                                                                                   SCRIPT                          0017                                A script file can automate the logon process to HOST system by                     SCRIPT                          0018                                providing answers (in a script file) to the prompts presented by                   SCRIPT                          0019                                the HOST system.                                                                   SCRIPT                          0020                                                                                                                   SCRIPT                          0021                                For example, a typical HOST system might require a password to be                  SCRIPT                          0022                                entered, and would then proceed to the READY prompt, where the                     SCRIPT                          0023                                user would enter a "RUN" command. Thus, a user would have to                       SCRIPT                          0024                                enter two items: a password and a "RUN" command. These two items                   SCRIPT                          0025                                could be placed in a script file (created with the Comet editor                    SCRIPT                          0026                                utility), and the script file could subsequently supply this                       SCRIPT                          0027                                information, allowing for unattended operation.                                    SCRIPT                          0028                                                                                                                   SCRIPT                          0029                                The SCRIPT command opens up many possibilities in that a series                    SCRIPT                          0030                                of programs can be run before or after QACCESS is run on the HOST                  SCRIPT                          0031                                system (as long as you keep in mind READ REQUEST mnemonics). A                     SCRIPT                          0032                                possible future modification to QACCESS could be to ACTIVATE a                     SCRIPT                          0033                                user specified program in background after a given file has been                   SCRIPT                          0034                                transferred.                                                                       SCRIPT                          0035                                                                                                                   SCRIPT                          0036                              Notes:                                                                               SCRIPT                          0037                                                                                                                   SCRIPT                          0038                                Due to an anomaly in QTerm, the first item supplied in a script                    SCRIPT                          0039                                file is ignored. Thus, to provide a password and a "RUN" command,                  SCRIPT                          0040                                the script file would must contain 3 lines: a blank line first,                    SCRIPT                          0041                                followed by a password, ending with a "RUN" command. For                           SCRIPT                          0042                                additional discussion of this point, see below.                                    SCRIPT                          0043                                                                                                                   SCRIPT                          0044                              Example:                                                                             SCRIPT                          0045                                                                                                                   SCRIPT                          0046                                SCRIPT SIGNON,DSK                                                                  SCRIPT                          0047                                                                                                                   SCRIPT                          0048                                This command specifies that a script file named SIGNON on                          SCRIPT                          0049                                directory DSK should be used. The script file should be in the                     SCRIPT                          0050                                following format:                                                                  SCRIPT                          0051                                                                                                                   SCRIPT                          0052                                1.   a blank line                                                                  SCRIPT                          0053                                2.   the response to the first prompt on the HOST system (e.g., a                  SCRIPT                          0054                                     password)                                                                     SCRIPT                          0055                                3.   the response to the second prompt on the HOST system (e.g., a                 SCRIPT                          0056                                     "RUN" command)                                                                SCRIPT                          0057                                etc.                                                                               SCRIPT                          0058                                                                                                                   SCRIPT                          0059                              Discussion:                                                                          SCRIPT                          0060                                                                                                                   SCRIPT                          0061                                During development, we found that any mnemonics that post a read                   SCRIPT                          0062                                request, such as the following example caused the next script                      SCRIPT                          0063                                record to be read in.                                                              SCRIPT                          0064                                                                                                                   SCRIPT                          0065                                PRINT (0) "@040001@"              !SET EXTENDED STATUS REQUEST                     SCRIPT                          0066                                INPUT (0) STATUS$         !GET EXTENDED STATUS INFO                                SCRIPT                          0067                                                                                                                   SCRIPT                          0068                                Thus, QTerm, whenever being used via the QTerm gateway, would not                  SCRIPT                          0069                                send back a status and instead the next script record would be                     SCRIPT                          0070                                read. QMONITOR uses the above mnemonic in order to determine if a                  SCRIPT                          0071                                terminal attached to a multi-user board is a QTerm terminal that                   SCRIPT                          0072                                needs to run QT or QSIGNON. So a script file that contained the                    SCRIPT                          0073                                following command lines would not work.                                            SCRIPT                          0074                                                                                                                   SCRIPT                          0075                                100 COMET                         !ENTER PASSWORD                                  SCRIPT                          0076                                200 RUN QACCESS                   !ACTIVATE HOST QACCESS                           SCRIPT                          0077                                                                                                                   SCRIPT                          0078                                The INPUT (0) STATUS$ statement above would read in "COMET"                        SCRIPT                          0079                                (script line 100), and for the password it would enter "RUN                        SCRIPT                          0080                                QACCESS" (script line 200). Thus, the script was stuck at the                      SCRIPT                          0081                                "ENTER PASSWORD" prompt.                                                           SCRIPT                          0082                                                                                                                   SCRIPT                          0083                                Changing the script file to the following satisfied the extended                   SCRIPT                          0084                                read request in QMONITOR and allowed the REMOTE system to                          SCRIPT                          0085                                successfully logon and execute QACCESS on the HOST system.                         SCRIPT                          0086                                                                                                                   SCRIPT                          0087                                100                               !BLANK LINE                                      SCRIPT                          0088                                200 COMET                         !ENTER PASSWORD                                  SCRIPT                          0089                                300 RUN QACCESS                   !ACTIVATE HOST QACCESS                           SPEED                           0001                              Command:  SPEED                                                                      SPEED                           0002                                                                                                                   SPEED                           0003                              Purpose:                                                                             SPEED                           0004                                                                                                                   SPEED                           0005                                This command slows down QACCESS processing so as to not adversely                  SPEED                           0006                                affect the performance of workstations attached to a Comet multi-                  SPEED                           0007                                user board.                                                                        SPEED                           0008                                                                                                                   SPEED                           0009                              Syntax:                                                                              SPEED                           0010                                                                                                                   SPEED                           0011                                SPEED nnn                                                                          SPEED                           0012                                                                                                                   SPEED                           0013                                where:      nnn = any number between 0 and 999 (lower values cause                 SPEED                           0014                                            QACCESS to run faster; higher values cause QACCESS to ru               SPEED                           0015                                            slower)                                                                SPEED                           0016                                                                                                                   SPEED                           0017                              Description:                                                                         SPEED                           0018                                                                                                                   SPEED                           0019                                This command is intended for REMOTE systems that have a Comet                      SPEED                           0020                                multi-user board installed. It should be remembered that for the                   SPEED                           0021                                REMOTE system, QTerm and Comet must be active simultaneously                       SPEED                           0022                                since the QTerm gateway is used to communicate with the HOST                       SPEED                           0023                                system. Additionally, QACCESS has been designed to communicate as                  SPEED                           0024                                fast as possible by employing a 2K buffer, which is constantly                     SPEED                           0025                                refreshed with data. Depending on the processing power of the                      SPEED                           0026                                Comet multi-user REMOTE system and the number of terminals                         SPEED                           0027                                attached to the multi-user board, this may be asking too much of                   SPEED                           0028                                the system.                                                                        SPEED                           0029                                                                                                                   SPEED                           0030                                PAUSE statements have been carefully placed within the data                        SPEED                           0031                                transfer engine of QACCESS and are processed after each execution                  SPEED                           0032                                cycle. Internally, SPEED factors of 5 through 10 seem to allow                     SPEED                           0033                                users attached to the multi-user system enough processing power.                   SPEED                           0034                                The default SPEED for QACCESS, if the SPEED command is not                         SPEED                           0035                                declared, is zero (0). Low SPEED factors cause QACCESS to run                      SPEED                           0036                                faster, higher factors make it run slower.                                         SPEED                           0037                                                                                                                   SPEED                           0038                              Example:                                                                             SPEED                           0039                                                                                                                   SPEED                           0040                                SPEED 4                                                                            SPEED                           0041                                                                                                                   SPEED                           0042                                This command slows down QACCESS by a factor of 4.                                  WAKEUP                          0001                              Command:  WAKEUP                                                                     WAKEUP                          0002                                                                                                                   WAKEUP                          0003                              Purpose:                                                                             WAKEUP                          0004                                                                                                                   WAKEUP                          0005                                This command suspends QACCESS processing until a specific time                     WAKEUP                          0006                                has been reached, after which, the next command in the command                     WAKEUP                          0007                                file is processed.                                                                 WAKEUP                          0008                                                                                                                   WAKEUP                          0009                              Syntax:                                                                              WAKEUP                          0010                                                                                                                   WAKEUP                          0011                                WAKEUP HH:MM:SS                                                                    WAKEUP                          0012                                                                                                                   WAKEUP                          0013                              Description:                                                                         WAKEUP                          0014                                                                                                                   WAKEUP                          0015                                This command is only used by the REMOTE system. The HOST side,                     WAKEUP                          0016                                being in slave mode, has no WAKEUP capability. This command is                     WAKEUP                          0017                                useful for unattended connections to HOST Comet systems at night                   WAKEUP                          0018                                to automatically transfer files.                                                   WAKEUP                          0019                                                                                                                   WAKEUP                          0020                              Example:                                                                             WAKEUP                          0021                                                                                                                   WAKEUP                          0022                                WAKEUP 02:00:00                                                                    WAKEUP                          0023                                                                                                                   WAKEUP                          0024                                This command suspends further command processing until 2:00 AM.                    COPY FROM HOST                                                      system.                                                                            COPY FROM REMOTE                                                  <LOG FILE>                                                                           Command File Examples                                               This command suspends further command processing until 2:00 AM.                    Copyright                                                                                                                                              DIAGNOSTIC                                                          REMOTE system.                                                                     DIAL                                                                This command performs the diagnostic test 20 times.                                END                                                                 56          an extension number to be dialed                                       Example 1                                                         <Example 1>     <Example 2>     <Example 3>                                          Example 2                                                         hot-key out of QTerm back to Comet.                                                  Example 3                                                                and HOST systems.                                                             GATEWAY                                                                  QMONITOR.                                                                     HANGUP                                                              used for communication from the REMOTE system to the HOST system.                  HOME                                                                 First edition September 1996.                                                     LOG FILE                                                                 and transfer files.                                                           MESSAGE HOST                                                        and re-created.                                                                    MESSAGE REMOTE                                                           internally, with no hangs or problems.                                        PAUSE                                                                    internally, with no hangs or problems.                                        SCRIPT                                                              for 10 seconds following a HANGUP command (i.e., between calls).                   SPEED                                                               300 RUN QACCESS                   !ACTIVATE HOST QACCESS                           WAKEUP                                                              This command slows down QACCESS by a factor of 4.                                  